﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace Rosieks.Web.Flow
{
    public static class WebflowContextProviders
    {
        static WebflowContextProviders()
        {
            var providers = new WebflowContextProviderDictionary();
            providers.Add("TempData", new TempDataWebflowContextProvider());
            providers.Add("HiddenField", new HiddenFieldWebflowContextProvider(new LosFormatterWrapper(new LosFormatter())));

            WebflowContextProviders.Providers = providers;
        }

        public static WebflowContextProviderDictionary Providers { get; set; }
    }
}
